package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(
        name = "Eventer",
        title = "活动参与者资格表",
        description = ""
)
@TableName(value = "activity_eventer")
public class Eventer {

    @Schema(title = "活动参与者id", description = "")
    @TableId(value = "eventer_id")
    private Long id;

    @Schema(title = "活动id", description = "")
    @TableField(value = "event_id")
    private Long eventId;

    @Schema(title = "用户id", description = "")
    @TableField(value = "user_id")
    private Long userId;
}
